package leetcode.search;

import leetcode.search.comon.SearchUtils;

class Solution287 {
    public int findDuplicate(int[] nums) {
        return SearchUtils.findDuplicate(nums);
    }
}

public class leetcode287 {
    public static void main(String[] args) {
        Solution287 solution287 = new Solution287();
        int[] nums = {1, 3, 4, 2, 2};
        System.out.println(solution287.findDuplicate(nums));
    }
}
